package com.wht.service.admin.impl;

import com.wht.mapper.admin.AdminLoginDao;
import com.wht.mapper.admin.impl.AdminLoginDaoImpl;
import com.wht.domain.Admin;
import com.wht.service.admin.AdminLoginService;

/**
 * @author wanghaotian
 * time:2022/11/21,0021 19:49
 * description:
 */

public class AdminLoginServiceImpl implements AdminLoginService {
    private AdminLoginDao adminLoginDao = new AdminLoginDaoImpl();
    @Override
    public Admin adminLogin(String username, String password) {
        return adminLoginDao.selectAdmin(username,password);
    }
}
